﻿using System;
using LockerRack.Exceptions;

namespace LockerRack.Interfaces
{
    public interface IDrawerFile : IDisposable
    {
        string Name { get; set; }
        string Filename { get; set; }
        IDrawerFileStuff Contents { get; }

        bool SaveContent(string folder, out LockerException lex);
        bool LoadContent(string folder, out LockerException lex);
        bool CreateNewContent(IDrawerFileStuff content, out LockerException lex);
    }
}
